Skip to main content
Version: v1.1

Download and Install Pre-built AosCore SDK

Follow the steps below to download, install, and initialize the SDK environment for your chosen platform.

Download SDK

Pre-built AosCore SDK can be found in the GitHub repository's Releases page for each environment.

for VirtualBox VM

Go to https://github.com/aosedge/meta-aos-vm/releases and confirm the latest release version.

Use below commands to set it as environment variable and download the toolchain:

export AOS_RELEASE_VERSION=5.2.0
wget https://github.com/aosedge/meta-aos-vm/releases/download/v${AOS_RELEASE_VERSION}/aos-core-x86_64-toolchain-genericx86-64-${AOS_RELEASE_VERSION}.sh

for Raspberry Pi 5

Go to https://github.com/aosedge/meta-aos-rpi/releases and confirm the latest release version.

Use below commands to set it as environment variable and download the toolchain:

export AOS_RELEASE_VERSION=1.0.6
wget https://github.com/aosedge/meta-aos-rpi/releases/download/v${AOS_RELEASE_VERSION}/aos-core-x86_64-toolchain-raspberrypi5-${AOS_RELEASE_VERSION}.sh

Install SDK

Once the appropriate SDK toolchain is downloaded, you must install it.

Follow the on-screen prompts and instructions during installation.

for VirtualBox VM

Make installer executable:

export AOS_RELEASE_VERSION=5.2.0
chmod +x aos-core-x86_64-toolchain-genericx86-64-${AOS_RELEASE_VERSION}.sh

Run installer:

./aos-core-x86_64-toolchain-genericx86-64-${AOS_RELEASE_VERSION}.sh

for Raspberry Pi 5

Make installer executable:

export AOS_RELEASE_VERSION=1.0.6
chmod +x aos-core-x86_64-toolchain-raspberrypi5-${AOS_RELEASE_VERSION}.sh

Run installer:

./aos-core-x86_64-toolchain-raspberrypi5-${AOS_RELEASE_VERSION}.sh

Initialize SDK Environment

Before starting any builds, you must source the environment setup script to configure paths, compilers, and required variables.

After initialization, your terminal session will be ready to build applications in the Aos environment.

for VirtualBox VM

. /opt/aos-core-sdk/genericx86-64/${AOS_RELEASE_VERSION}/environment-setup-core2-64-aosvm-linux

for Raspberry Pi 5

. /opt/aos-core-sdk/raspberrypi5/${AOS_RELEASE_VERSION}/environment-setup-cortexa76-aos-linux